<!-- INCLUDE ucp_header.html -->

<div id="pagecontent">

<!-- IF not PROMPT -->
	<!-- INCLUDE ucp_pm_message_header.html -->
<!-- ENDIF -->

<form name="viewfolder" method="post" action="{S_PM_ACTION}" style="margin:0px">

<!-- IF PROMPT -->
<hr />
<table cellspacing="0">
	<tr>
		<th valign="middle">{L_OPTIONS}</th>
	</tr>
</table>

<hr />
<table cellspacing="0">
	<tr>
		<td class="row1">{L_DELIMITER}: <input class="post" type="text" name="delimiter" value="," /></td>
	</tr>
</table>

<hr />
<table cellspacing="0">
	<tr>
		<td class="row2">{L_ENCLOSURE}: <input class="post" type="text" name="enclosure" value="&#034;" /></td>
	</tr>
</table>

<hr />
<table cellspacing="0">
	<tr>
		<td class="cat" align="center"><input type="hidden" name="export_option" value="CSV" /><input class="btnmain" type="submit" name="submit_export" value="{L_EXPORT_FOLDER}" />&nbsp;&nbsp;<input class="btnlite" type="reset" value="Reset" name="reset" /></td>
	</tr>
</table>
	{S_FORM_TOKEN}

</form>
<!-- ELSE -->
	
<hr />
<table cellspacing="0">
		<tr>
			<th>{L_MESSAGES}</th>
		</tr>
</table>

	<!-- IF NUM_NOT_MOVED or NUM_REMOVED -->
<hr />
<table cellspacing="0">
		<tr>
			<td class="row3" align="center"><span class="gen">
				<!-- IF NUM_REMOVED -->
				{RULE_REMOVED_MESSAGES}
					<!-- IF NUM_NOT_MOVED --><br /><!-- ENDIF -->
				<!-- ENDIF -->
				<!-- IF NUM_NOT_MOVED -->
				{NOT_MOVED_MESSAGES}<br />{RELEASE_MESSAGE_INFO}
				<!-- ENDIF -->
			</span></td>
		</tr>
</table>
	<!-- ENDIF -->

	<!-- BEGIN messagerow -->
<hr />
<table cellspacing="0">
	<tr>
	</tr>
</table>

<hr />
<table cellspacing="0">
	<tr>
		<!-- IF messagerow.S_PM_DELETED --><td class="cat"><!-- ELSE --><td class="row2"><!-- ENDIF -->
			<!-- IF not messagerow.PM_IMG and messagerow.PM_CLASS -->
				<span class="{messagerow.PM_CLASS}" style="float: {S_CONTENT_FLOW_BEGIN};"><img src="images/spacer.gif" width="10" height="10" alt="" /></span>&nbsp;
			<!-- ELSEIF messagerow.PM_IMG -->
				{messagerow.PM_IMG}&nbsp;
			<!-- ENDIF -->

			<span class="topictitle">
				{messagerow.ATTACH_ICON_IMG} 
				<!-- IF messagerow.S_PM_DELETED -->
					{L_MESSAGE_REMOVED_FROM_OUTBOX}<br />
					<a href="{messagerow.U_REMOVE_PM}" style="float: {S_CONTENT_FLOW_END};">{L_DELETE_MESSAGE}</a>
				<!-- ELSE -->
					<a href="{messagerow.U_VIEW_PM}">{messagerow.SUBJECT}</a>
				<!-- ENDIF -->
				<!-- IF messagerow.S_AUTHOR_DELETED -->
					<br /><em class="gensmall">{L_PM_FROM_REMOVED_AUTHOR}</em>
				<!-- ENDIF -->
			</span></td>
		<td class="row1"><p class="topicdetails">{L_SELECT} <input type="checkbox" class="radio" name="marked_msg_id[]" value="{messagerow.MESSAGE_ID}" /></p>
			<p class="topicauthor"><!-- IF S_SHOW_RECIPIENTS -->{L_POST_BY_AUTHOR} {messagerow.RECIPIENTS}<!-- ELSE -->{L_POST_BY_AUTHOR} {messagerow.MESSAGE_AUTHOR_FULL}<!-- ENDIF --></p>
			<p class="topicdetails">{messagerow.SENT_TIME}</p></td>
	<tr>
</table>

<!-- IF not messagerow.S_LAST_ROW -->
<hr />
<table cellspacing="0">
	<tr>
		<td class="spacer"></td>
	</tr>
</table>
<!-- ENDIF -->

	<!-- BEGINELSE -->
<hr />
<table cellspacing="0">
		<tr>
			<td class="row2" align="center" valign="middle"><span class="gen">{L_NO_MESSAGES}</span></td>
		</tr>
</table>
	<!-- END messagerow -->
<hr />

<input type="hidden" name="cur_folder_id" value="{CUR_FOLDER_ID}" />

<!-- IF .messagerow -->
<table cellspacing="0">
	<tr>
		<td>
		<div style="float: {S_CONTENT_FLOW_BEGIN};"><select name="export_option"><option value="CSV">{L_EXPORT_AS_CSV}</option><option value="CSV_EXCEL">{L_EXPORT_AS_CSV_EXCEL}</option><option value="XML">{L_EXPORT_AS_XML}</option></select>&nbsp;<input class="btnlite" type="submit" name="submit_export" value="{L_EXPORT_FOLDER}" /></div>
		<div style="float: {S_CONTENT_FLOW_END};"><select name="mark_option">{S_MARK_OPTIONS}{S_MOVE_MARKED_OPTIONS}</select>&nbsp;<input class="btnlite" type="submit" name="submit_mark" value="{L_GO}" />&nbsp;</div>
		</td>
	</tr>
</table>
<!-- ENDIF -->

<!-- INCLUDE ucp_pm_message_footer.html -->

<!-- ENDIF -->

</div>

<!-- INCLUDE ucp_footer.html -->
